package com.minivision.fdiot.rest.param.faceset;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.web.multipart.MultipartFile;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BatchAddFaceParam extends AuthParam {

  private static final long serialVersionUID = 9162768172816211137L;
  
  @NotBlank
  @ApiModelProperty(value = "人脸库Token", required = true)
  private String facesetToken;
  
  @NotEmpty
  @Size(max = 50)
  @ApiModelProperty(value = "人脸图片数据（单次入库最大数量为50张，每张照片最大不超过5MB）", required = true)
  private MultipartFile[] imageDatas;
  
  @ApiModelProperty(value = "是否返回特征值，false为不返回，true为返回")
  private boolean getFeature;
  
}
